package com.example.papercut.service.impl.dimension;

import com.example.papercut.entity.dimension.PCCategory;
import com.example.papercut.mapper.dimension.PCCategoryMapper;
import com.example.papercut.service.dimension.DimensionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class PCCategoryServiceImpl implements DimensionService<PCCategory> {

    private final PCCategoryMapper categoryMapper;

    @Autowired
    public PCCategoryServiceImpl(PCCategoryMapper categoryMapper) {
        this.categoryMapper = categoryMapper;
    }

    @Override
    public List<PCCategory> findAll() {
        return categoryMapper.findAll();
    }
}
// 请为 PCTheme, PCTechnique, PCLayout, AuthorStyle 创建类似的服务实现类